﻿using System;

namespace P7DC.Common.Extention
{
	public static class DateTimeExtention
	{
		///<remarks>01/02/2012 12:01</remarks>
		public static string ToEuDateTime(this DateTime dt)
		{
			return dt.ToString("MM/dd/yyyy HH:MM");
		}

		///<remarks>01/02/2012 13:01 PM</remarks>
		public static string ToUsDateTime(this DateTime dt)
		{
			return dt.ToString("MM/dd/yyyy HH:MM tt");
		}
	}
}
